$(document).ready(function() {
//班级---------------------------------------------------------------------------------------------------
//	设置图表颜色，默认一个老师最多管9个班
	Highcharts.setOptions({
        colors: ['#bfe3ff', '#a2c9e8', '#7fb6e4', '#5299d6', '#337ab7', '#256194', '#1c507b', '#0f3a5d', '#072b48']
    });
    
//	测试内容
	makePaginator('#student-paginator', 1, 10, 10);
	makePaginator('#modal-review-home-pagination', 1, 10, 10);
	makePaginator('#modal-review-task-pagination', 1, 10, 10);
	makePaginator('#modal-review-match-pagination', 1, 10, 10);
//	图表1
	$('#class-home-chart-1').highcharts({
       	chart: { type: 'column' },
        title: { text: '' },
        xAxis: { categories: ['卡常1', '卡常2', '卡常3', '卡常4', '卡常5'] },
        yAxis: { min: 0, title: { text: 'AC人数' }, stackLabels: { enabled: true, style: { fontWeight: 'bold', color: (Highcharts.theme && Highcharts.theme.textColor) || 'gray' } } },
        legend: { align: 'right', x: -30, verticalAlign: 'top', y: 25, floating: true, backgroundColor: (Highcharts.theme && Highcharts.theme.background2) || 'white', borderColor: '#CCC', borderWidth: 1, shadow: false },
        tooltip: { formatter: function () { return '<b>' + this.x + '</b><br/>' + this.series.name + ' AC人数: ' + this.y + '<br/>' + '总人数: ' + this.point.stackTotal; } },
        plotOptions: { column: { stacking: 'normal', dataLabels: { enabled: true, color: 'white' } } },
        series: [{
            name: '计1',
            data: [1, 2, 3, 2, 1]
        }, {
            name: '计2',
            data: [1, 2, 3, 2, 1]
        }, {
            name: '计3',
            data: [1, 2, 3, 2, 1]
        }, {
            name: '计4',
            data: [1, 2, 3, 2, 1]
        }, {
            name: '计5',
            data: [1, 2, 3, 2, 1]
        }, {
            name: '计6',
            data: [1, 2, 3, 2, 1]
        }, {
            name: '计7',
            data: [1, 2, 3, 2, 1]
        }, {
            name: '计8',
            data: [1, 2, 3, 2, 1]
        }, {
            name: '计9',
            data: [1, 2, 3, 2, 1]
        }]
    });
//	图表2
	
});